package day1026.LaoShi;

public class TeacherTest {
    public static void main(String[] args) {
        System.out.println("Java老师:");
        JavaTeacher javaTeacher =new JavaTeacher("刘邦钊",35,9,"男");
        javaTeacher.selfIntroduce();
        javaTeacher.giveLession();
        javaTeacher.java();
        System.out.println("前端老师:");
        UiTeacher uiTeacher =new UiTeacher("张政",29,10,"男");
        uiTeacher.selfIntroduce();
        uiTeacher.giveLession();
        uiTeacher.ui();
        System.out.println("C#老师:");
        NetTeacher netTeacher =new NetTeacher("王越敏",48,9,"男");
        netTeacher.selfIntroduce();
        netTeacher.giveLession();;
        netTeacher.net();
    }
}
